package com.fly.office.word.model.table;

import java.util.List;
import java.util.Map;

public class TableModel {

    /**
     * 表格关键词
     */
    private String key;

    /**
     * 表头样式
     */
    private StyleModel titleStyle = new StyleModel();

    /**
     * 表数据样式
     */
    private StyleModel dataStyle = new StyleModel();

    /**
     * 表头
     */
    private List<String> titles;

    /**
     * 数据集
     */
    private List<Map<String,String>> dataList;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<Map<String, String>> getDataList() {
        return dataList;
    }

    public void setDataList(List<Map<String, String>> dataList) {
        this.dataList = dataList;
    }

    public List<String> getTitles() {
        return titles;
    }

    public void setTitles(List<String> titles) {
        this.titles = titles;
    }

    public StyleModel getTitleStyle() {
        return titleStyle;
    }

    public void setTitleStyle(StyleModel titleStyle) {
        this.titleStyle = titleStyle;
    }

    public StyleModel getDataStyle() {
        return dataStyle;
    }

    public void setDataStyle(StyleModel dataStyle) {
        this.dataStyle = dataStyle;
    }
}
